// Package sysin
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package sysin

import (
	"context"
	"hotgo/internal/model/entity"
	"hotgo/internal/model/input/form"

	"github.com/gogf/gf/v2/os/gtime"
)

// AuctionLogUserMapperUpdateFields 修改竞拍与用户订阅关系表字段过滤
type AuctionLogUserMapperUpdateFields struct {
	LogId     int64 `json:"logId"  dc:"记录id"`
	UserId    int64 `json:"userId" dc:"用户id"`
	ProductId int64 `json:"productId" dc:"产品id"`
	MapperId  int64 `json:"mapperId" dc:"对应关系id"`
}

// AuctionLogUserMapperInsertFields 新增竞拍与用户订阅关系表字段过滤
type AuctionLogUserMapperInsertFields struct {
	LogId     int64 `json:"logId"  dc:"记录id"`
	UserId    int64 `json:"userId" dc:"用户id"`
	ProductId int64 `json:"productId" dc:"产品id"`
	MapperId  int64 `json:"mapperId" dc:"对应关系id"`
}

// AuctionLogUserMapperEditInp 修改/新增竞拍与用户订阅关系表
type AuctionLogUserMapperEditInp struct {
	entity.AuctionLogUserMapper
}

func (in *AuctionLogUserMapperEditInp) Filter(ctx context.Context) (err error) {

	return
}

type AuctionLogUserMapperEditModel struct{}

// AuctionLogUserMapperDeleteInp 删除竞拍与用户订阅关系表
type AuctionLogUserMapperDeleteInp struct {
	Id interface{} `json:"id" v:"required#id不能为空" dc:"id"`
}

func (in *AuctionLogUserMapperDeleteInp) Filter(ctx context.Context) (err error) {
	return
}

type AuctionLogUserMapperDeleteModel struct{}

// AuctionLogUserMapperViewInp 获取指定竞拍与用户订阅关系表信息
type AuctionLogUserMapperViewInp struct {
	Id int64 `json:"id" v:"required#id不能为空" dc:"id"`
}

func (in *AuctionLogUserMapperViewInp) Filter(ctx context.Context) (err error) {
	return
}

type AuctionLogUserMapperViewModel struct {
	entity.AuctionLogUserMapper
}

// AuctionLogUserMapperListInp 获取竞拍与用户订阅关系表列表
type AuctionLogUserMapperListInp struct {
	form.PageReq
	Id        int64         `json:"id"        dc:"id"`
	LogId     int64         `json:"logId"     dc:"记录id"`
	UserId    int64         `json:"userId"    dc:"用户id"`
	ProductId int64         `json:"productId" dc:"产品id"`
	MapperId  int64         `json:"mapperId" dc:"对应关系id"`
	CreatedAt []*gtime.Time `json:"createdAt" dc:"创建时间"`
}

func (in *AuctionLogUserMapperListInp) Filter(ctx context.Context) (err error) {
	return
}

type AuctionLogUserMapperListModel struct {
	Id        int64       `json:"id"        dc:"id"`
	LogId     int64       `json:"logId"     dc:"记录id"`
	UserId    int64       `json:"userId"    dc:"用户id"`
	ProductId int64       `json:"productId" dc:"产品id"`
	MapperId  int64       `json:"mapperId" dc:"对应关系id"`
	CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
}

// AuctionLogUserMapperExportModel 导出竞拍与用户订阅关系表
type AuctionLogUserMapperExportModel struct {
	Id        int64       `json:"id"        dc:"id"`
	LogId     int64       `json:"logId"     dc:"记录id"`
	UserId    int64       `json:"userId"    dc:"用户id"`
	ProductId int64       `json:"productId" dc:"产品id"`
	MapperId  int64       `json:"mapperId" dc:"对应关系id"`
	CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
}
